home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_6
/
tread2_2.lha
/
DLGUPLOA.DOC
< prev
next >
Wrap
Text File
|
1994-08-25
|
7KB
|
170 lines
**** ** **** ** ** ** **
** ** ** ** ** ** ** ** **
** ** ** ** ** ** ***** ** **** **** *****
** ** ** ** *** ** ** ** ** ** ** ** ** ** ** v 0.57
** ** ** ** ** ** ** ** ** ** ** ** ***** ** **
** ** ** ** ** ** ** ***** ** ** ** ** ** ** ** by Michael
**** ****** ***** **** ** ** **** ***** ***** Dreher
**
What is it ??
~~~~~~~~~~~~~
Just a simple proggie that enables you to Upload Files from a script
or from the DOS-Shell to any File-Area or User's directory.
Why DLGUpload ??
~~~~~~~~~~~~~~~~
You know these problems ??:
- when online from remote, you get a message from a user who asks
for a special file which is not in the file-areas... You know that
it's on the system's harddisk, but it takes to much time to bring it
to that user's directory or a file-area. (there might be several
changes necessary between the DOS-Shell and FileMaint.. too much
work...)
- you are at home and a user asks for a file or you have finished
the new KeyFile for XY, but you don't want to log in just for
uploading a file...
- you have automated scripts which generate files to be uploaded to
several file-areas, but you have to upload them manually...
- maybe you know some more examples, I think it's enough :-)
Here is the solution for these problems, an easy-to-use, fast and
powerful CLI-type proggie that allows you to upload files to users
and file-areas with full support of DLG's very own data-files and
structures...
(You might also want to try Calibre System's Upload2-program, which
also has been adapted to the new structures of DLG... compare them
and use the one you like better, I know that the old version of
DLGUpload was (is ?) used on MANY systems around the DLG-world :-)
DLGUpload (v 0.57), what does it ??
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- allows to specify a Description (upto 99 chars)
- allows to specify a Textfile to take the Description from
- allows to specify an Uploader
- allows to make the file [FREE]
- no need of "C:Copy" or other stuff and even SHORTER
than similar proggies... (currently less than 9k, 100% machine-code)
- no GURU when Dest-Dir not exists
- only ONE *.fd file for each upload
- seems to be quite safe and requires a minimum of 40 k of memory
- uses alternate storage paths from File:area.bbs
- uses file:[area]/file.dat
- uses User:First_Last/event.log on private Uploads
(When information on DLG.library will be available, DLGUpload might
also use system-messages or alter the upload-counters in the
Uploader's user.data-file :-)
How does it work ??
~~~~~~~~~~~~~~~~~~~
When called, it will copy the specified file to the destination
directory, look for a pointers.file, write a .fd-file, update the
pointers.file and the file.dat. If no pointers.file or file.dat
is found, one will be generated (only thing it does not is create
File:Area.bbs if not existant :-)
The command-line for DLGUpload is:
DLGUpload <filename> <dest-path> <description> <uploader> [FREE]
where <filename> is the path to the file which is to be uploaded
<dest-path> is the path where the file and file-description
shall be put (e.g. File:15/ or User:Michael_Dreher/)
<description> is a short description that will be placed in
the header-file (upto 100 chars at the moment)
if you want to specify a filename use '^' as the
first char ('^s:Descriptionfile' for example)
<uploader> is the name which will be shown as uploader in
the header-file
FREE is a flag telling DLGUpload that this file has
the FREE-attribute
If <dest-path> is "" the file will be uploaded to the current
directory. If you want to leave a parameter out and use one of the
following, you should replace it with "" (will not work for
<filename> :-)
No need of "/" at the end of the path, will be added automagically..
The minimum is:
DLGUpload <filename>
all other parameters will get defaults then...
Examples:
~~~~~~~~~
DLGUpload s:startup-sequence user:marcus_kuba "Just a test" "Michael Dreher"
- will upload the Startup-sequence to Marcus Kuba's private
file-area with a description of "Just a test" and Michael Dreher as
uploader.
DLGUpload Batch-Upload:FF460.lzh File:31 "^Contents460" "SysOp" FREE
- will upload the File FF460.lzh to File-Area 31 with the FREE-Flag
set and uses the file "Contents460" as description. The Uploader is "SysOp"
cd File:89
DLGUpload S:PC-Startup
DLGUpload Testfile
- will upload the files 'S:PC-Startup' and 'Testfile' in file area 89
and uses default uploader and default description
How must I install it ??
~~~~~~~~~~~~~~~~~~~~~~~~
Oh, this is the simplest.., just copy DlgUpload anywhere in your path,
we have it in C: right now. For easier use rename it to "Upload", this
will ensure that you don┤t need to change any of your scripts which
use Upload right now (but you should do so to make use of DLGUploads
additional features :-)
CopyRight:
~~~~~~~~~~
DLGUpload is Freeware, which means that you can spread it to anyone
you like, as long as all files are intact and the original archive
is NOT altered (this means also that you may NOT add any files
or change the ZZZIBASE.foo textfile included in this archive !!).
If you like and use DlgUpload, it would by nice, if you send us
YOUR Freeware/Shareware proggies, even a message would be nice...
author:
Michael Dreher
Wielandstr. 12
7250 Leonberg
West Germany
Fido Netmail: 2:247/706 Intuition Base ++49-7152-45768
UUCP email: Michael_Dreher@ibase.stgt.sub.org
or write to:
Marcus Kuba, SysOp of 2:247/706 / ibase.stgt.sub.org
(Intuition-Base, DLGTopX, DLGUpload and CONTRIS!-Support-BBS :-)
Special thanks:
~~~~~~~~~~~~~~~
Marcus Kuba : - He had the ideas for the additional features
- He wrote this documentation.
Tom Conroy (TPT) : - for DLG Pro and testing DLGUpload
Patrick Young : - for A68k 2.71 (which was used to make DLGUpload)
Disclaimer:
~~~~~~~~~~~
We are in no way responsible for anything this program does; you are using it
entirely at your own risk ! (This means that if DLGUpload formats your
harddisk, it's your personal problem :-), but you can believe me: it
has been tested long enough to be safe...)